import Vue from 'vue'
import Router from 'vue-router'
// import HelloWorld from '@/components/HelloWorld'
import MyRoot from '../pages/MyRoot'
// import MyRoot from "../pages/MyRoot.vue"
import BrowsingHistory from "../pages/BrowsingHistory"
import MySidebar from  "../pages/MySidebar"
import MySetting from  "../pages/MySetting"
import BrowsingHistoryFood from  "../pages/BrowsingHistoryFood"
import BrowsingHistoryHeadLine from  "../pages/BrowsingHistoryHeadLine"



Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'MyRoot',
      component: MyRoot
    },
    {
      path: '/a',
      name: 'BrowsingHistory',
      component: BrowsingHistory
    },
    {
      path: '/mysidebar',
      name: 'MySidebar',
      component: MySidebar
    },
    {
      path: '/myset',
      name: 'MySetting',
      component: MySetting
    },
    {
      path: '/food',
      name: 'BrowsingHistoryFood',
      component: BrowsingHistoryFood
    },
    {
      path:'/headline',
      name:'BrowsingHistoryHeadLine',
      component:BrowsingHistoryHeadLine

    }
  ]
})
